import xarray as xr
import numpy as np
path=r'D:\met_data\IBTrACS\IBTrACS.ALL.v04r00.nc'
t=xr.open_dataset(path, engine="netcdf4")

#basic 1d
t.name.shape  
t.sid.shape 

c=np.where(t.name.values==b"FREDDY")
d=t.sid[c]